<template>
  <div>
    <h1 style="color: tomato">首页,用来链接跳转的</h1>
    <!-- 导航链接 -->
    <router-link style="color: red; font-size: 50px" to="/home"
      >Home</router-link
    >
    <router-link style="color: red; font-size: 50px" to="/lianxi"
      >LianXi</router-link
    >
    <!-- 显示当前路由对应的组件 -->
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  mounted() {},
  methods: {},
};
</script>

<style lang='less' scoped>
</style>